package com.lbd.gulimall.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @ProjectName: gulimall
 * @Package: com.lbd.gulimall.order
 * @ClassName: GuliMallOrderApplication
 * @Author: linbd
 * @Description:
 * @Date: 2021/6/4 17:16
 */
@EnableRabbit
@EnableRedisHttpSession
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.lbd.gulimall.order.feign")
@MapperScan("com.lbd.gulimall.order.dao")
@SpringBootApplication
public class GuliMallOrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(GuliMallOrderApplication.class);
    }
}
